package com.aier.classes.entity;

import java.sql.Timestamp;



public class InviteParent implements java.io.Serializable{

    /**
     * 邀请家长记录表  (邀请到班级)
     */
    private static final long serialVersionUID = 1L;

    private Long ipid;        //标识
    private String pname;    //家长姓名
    private String phone;    //家长手机号
    private Long csid;        //对应的班级学生id
    private String relation;//家长与对应的学生的关系
    private Long tid;        //发送邀请的教师id
    private Long cid;        //班级id
    private Short state;    //状态 0:邀请中,1:同意,2:拒绝
    private Timestamp ctime;//邀请时间
    
    //扩展
    private String ctime_str;    
    private String state_str;    
    private String name_student;    //家长对应的学生姓名
    private Long baby_uid;            //学生的用户id
    private String name_teacher;    //发送邀请的教师姓名
    private String name_class;        //班级名
    private String name_school;        //学校名
    
    public InviteParent() {
        super();
    }

    public InviteParent(Long ipid, String pname, String phone, Long csid,
            String relation, Long tid, Long cid, Short state, Timestamp ctime) {
        super();
        this.ipid = ipid;
        this.pname = pname;
        this.phone = phone;
        this.csid = csid;
        this.relation = relation;
        this.tid = tid;
        this.cid = cid;
        this.state = state;
        this.ctime = ctime;
    }

    public Long getIpid() {
        return ipid;
    }

    public void setIpid(Long ipid) {
        this.ipid = ipid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getCsid() {
        return csid;
    }

    public void setCsid(Long csid) {
        this.csid = csid;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Timestamp getCtime() {
        return ctime;
    }

    public void setCtime(Timestamp ctime) {
        this.ctime = ctime;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public String getName_student() {
        return name_student;
    }

    public void setName_student(String name_student) {
        this.name_student = name_student;
    }

    public String getCtime_str() {
        return ctime_str;
    }

    public void setCtime_str(String ctime_str) {
        this.ctime_str = ctime_str;
    }

    public String getState_str() {
        return state_str;
    }

    public void setState_str(String state_str) {
        this.state_str = state_str;
    }

    public String getName_teacher() {
        return name_teacher;
    }

    public void setName_teacher(String name_teacher) {
        this.name_teacher = name_teacher;
    }

    public Long getBaby_uid() {
        return baby_uid;
    }

    public void setBaby_uid(Long baby_uid) {
        this.baby_uid = baby_uid;
    }

    public String getName_class() {
        return name_class;
    }

    public void setName_class(String name_class) {
        this.name_class = name_class;
    }

    public String getName_school() {
        return name_school;
    }

    public void setName_school(String name_school) {
        this.name_school = name_school;
    }


    
    
}
